/* pages/user/info/index.wxss */
page {
  background: linear-gradient(135deg, #FFF0E6 0%, #DAFFF3 100%);
}

.container {
  .user-card {
    padding: 20rpx;
    margin: 40rpx 0 20rpx;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20rpx;
    border: 2rpx solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;

    .basicas-info {
      display: flex;
      column-gap: 20rpx;
      width: 90%;

      .user-avatar {
        width: 156rpx;
        height: 156rpx;
        border-radius: 100rpx;
        border: 2rpx solid rgba(255, 120, 40, 0.3);
      }

      .user-info {
        width: 70%;
        display: flex;
        flex-direction: column;
        row-gap: 10rpx;

        .mbitBox {
          width: 100%;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          image {
            width: 40rpx;
            height: 40rpx;
            margin: 0 20rpx 0 0;
          }
        }

        .user-name {
          font-family: PingFang SC-Medium;
          font-weight: 500;
          font-size: 32rpx;
          color: #313131;
          line-height: 48rpx;
        }

        .user-d {
          font-family: PingFang SC-Regular;
          font-weight: 400;
          font-size: 28rpx;
          color: rgba(49, 49, 49, 0.5);
          line-height: 44rpx;
        }

        .MBTI {
          font-family: PingFang SC-Medium;
          font-weight: 500;
          font-size: 28rpx;
          color: #313131;
          line-height: 44rpx;
        }
      }
    }

    .edit-info {
      width: 48rpx;
      height: 48rpx;
    }
  }

  .user-data {
    display: flex;
    column-gap: 20rpx;

    .friend-num,
    .request-num {
      flex: 1;
      padding: 20rpx;
      border-radius: 20rpx;
      text-align: center;
      font-family: PingFang SC-Medium;
      font-weight: 500;
      font-size: 28rpx;
      line-height: 44rpx;

      .data-num {
        font-weight: 600;
        font-size: 40rpx;
        line-height: 56rpx;
        margin-bottom: 10rpx;
      }
    }

    .friend-num {
      color: #FF7828;
      background: rgba(255, 240, 230, 0.6);
    }

    .request-num {
      color: #313131;
      background: rgba(218, 255, 243, 0.5);

    }
  }

  .event-other {
    .event-i {
      border-bottom: 2rpx solid rgba(0, 0, 0, 0.05);
      font-family: PingFang SC-Medium;
      font-weight: 500;
      font-size: 32rpx;
      color: #313131;
      line-height: 88rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .event-name {
        display: flex;
        column-gap: 20rpx;
        align-items: center;

        .event-icon {
          width: 60rpx;
          height: 60rpx;
        }
      }

      .go-icon {
        width: 48rpx;
        height: 48rpx;
      }
    }
  }

  .logout-btn {
    width: calc(100vw - 80rpx);
    position: fixed;
    left: 40rpx;
    right: 40rpx;
    bottom: 60rpx;
    height: 84rpx;
    border-radius: 200rpx;
    border-color: #313131;
    color: #313131;
    padding-top: 16rpx;
    box-sizing: border-box;
  }
  .versionBox {
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 24rpx;
    color: #313131;
    line-height: 40rpx;
    margin-top: 20rpx;
  }
}